package com.xyhua.shiro.dao;

import com.xyhua.shiro.entity.User;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * description: UserDao <br>
 * date: 2020/3/23 1:40 下午 <br>
 * author: huaxiansheng <br>
 * version: 1.0 <br>
 */
@Repository
public interface UserDao extends JpaRepository<User,Integer> {

    User findByUsername(String userName);
}
